package GameDemo;

import GameDemo.FightState.FightStateMgr;
import com.Log;
import com.EffectMgr;
import com.EventSystem.*; // 假设 EventReg 类在 com 包中

import java.util.ArrayList;


public class Actor implements EffectMgr.Unit{

    public EventMgr eventMgr = new EventMgr();
    public BuffMgr buffMgr = new BuffMgr(this);
    public FightStateMgr fightStateMgr = new FightStateMgr(this);

    public void OnBeDamage()
    {
        eventMgr.FireEvent(EventType.Damage, 3);
    }

    public void Destroy() 
    {
        buffMgr.Destroy();
    }
    

}

